Skip to content

fix(conversation): #COCO-5328 optimize query that count / list message#968

Merged
vbillard91 merged 1 commit intodevelop-b2schoolfrom
fix-COCO-5238-optimize-message-query
Mar 4, 2026
Merged

fix(conversation): #COCO-5328 optimize query that count / list message#968
vbillard91 merged 1 commit intodevelop-b2schoolfrom
fix-COCO-5238-optimize-message-query

Conversation

@vbillard91
Copy link
Contributor

Description

Optimize query by avoiding full join on tables and only retreive hasAttachment and unread flag on page items

Fixes

https://edifice-community.atlassian.net/browse/COCO-5238

Type of change

Please check options that are relevant.

  • Chore (PATCH)
  • Doc (PATCH)
  • [X ] Bug fix (PATCH)
  • New feature (MINOR)

Which packages changed?

Please check the name of the package you changed

  • admin
  • app-registry
  • archive
  • auth
  • cas
  • common
  • communication
  • conversation
  • directory
  • feeder
  • infra
  • portal
  • session
  • test
  • tests
  • timeline
  • workspace

Tests

  1. Describe here the tests you performed
  2. Step by step
  3. With expected results

Reminder

  • Security flaws

  • Performance impacts (think bulk !)

  • Unit tests were replayed

  • Unit tests were added and/or changed

  • I have updated the reminder for the version including my modifications

  • All done ! 😃

@vbillard91 vbillard91 requested review from jcbe-ode and pb-jo March 3, 2026 10:51
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

@vbillard91 vbillard91 merged commit f2433b7 into develop-b2school Mar 4, 2026
1 check passed
@vbillard91 vbillard91 deleted the fix-COCO-5238-optimize-message-query branch March 4, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants